package cn.dnui_xcz826.dnuifood_16110100826.service;

import java.util.List;

import cn.dnui_xcz826.dnuifood_16110100826.bean.FoodBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/11/5.
 */

public interface FoodService {
    @GET("getFoodById.do")
    Call<FoodBean> doGetFoodById(
            @Query("food_id") String food_id
    );

    @GET("getFoodBySearch.do")
    Call<List<FoodBean>> doGetFoodBySearch(
            @Query("search") String search
    );
}